home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
gfx
/
x11
/
editres.readme
< prev
next >
Wrap
Text File
|
1996-10-11
|
6KB
|
127 lines
Short: X11R6 Resource Editor (updated)
Author: X consortium
Uploader: mlemos@ua.pt (Manuel Lemos)
Type: gfx/x11
This is the X11 R6 resource editor compiled for Holger Kruse's AmiWin Amiga
X Windows server. It allows the users to interactively view and change
resource values of running X application that supports the editres
protocol.
The original editres protocol program of X11 release 6.0 was not complete.
Peter Derr wrote a patch to complete the part of the protocol that enables
an application to retrieve the resource values in text string format that
may be usable directly in resource files.
To get the current value of a resource of a widget, you must selected the
respective resource in the resource box using the proper mouse button.
Button 1 (left button) is used to select the resource without changing the
contents of the text entry box.
Originally button 2 (middle button) was used to retrieve the resource value
into the text entry box, but I changed that in the provided application
defaults file to button 3 (right button) as most of the Amiga users only
have 2 button mice.
The GetValues part of editres protocol will only work with applications
that use this patched version the editres protocol code. Otherwise it will
only retrieve for resource value the "NoValue" string. So, applications
must be linked with this new code.
Since AmiWin local applications use shared libraries that only Holger has
the source code, only him is able to provide patched versions of the
libraries.
I am providing a link library that uses the patched code to add the
necessary changes at runtime. All it does is to change the vendor Shell
class initialization code to insert the new editres protocol message event
handler.
It also adds new *ToString resource converters necessary to convert
resource values to text string format. Only the most used *ToString
converters were added. If it shows that editres perform default from
integer conversions is because the required *ToString converters are not
available.
The source code for editres and the editres link library are provided for
your convinience. Feel free to recompile the link library with the options
that you may find appropriate for you programs.
In order to force the library to get linked with any SAS C compiled
program, I defined the external __stack variable that is used by SAS to
define the minimum stack size that a program must start with.
This is also a convinience for X programs as they spend considerable
ammounts of stack space. 40000 bytes is often reasonable value for the
stack. Feel free to change this value according to you convinience.
Manuel Lemos
31.08.1996
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2278 559 75.4% 31-Aug-96 02:27:20 editres.info
2278 565 75.1% 31-Aug-96 02:27:44 +bin.info
59268 33427 43.6% 30-Aug-96 23:47:48 +editres
3624 1075 70.3% 31-Aug-96 02:25:28 +editres.info
2677 1214 54.6% 31-Aug-96 02:23:34 +editres.readme
3633 922 74.6% 31-Aug-96 02:27:20 +editres.readme.info
9664 2994 69.0% 22-Aug-96 03:40:44 +Editres
13384 6897 48.4% 30-Aug-96 23:49:34 +editres.lib
2278 567 75.1% 31-Aug-96 02:28:46 +src.info
2278 569 75.0% 31-Aug-96 02:30:30 +programs.info
2278 564 75.2% 31-Aug-96 02:30:50 +editres.info
9542 3075 67.7% 22-Aug-96 02:32:34 +actions.c
481 269 44.0% 31-Aug-96 02:30:50 +actions.c.info
1397 702 49.7% 31-Aug-96 02:30:50 +Build.info
25093 7164 71.4% 22-Aug-96 02:07:14 +comm.c
481 269 44.0% 31-Aug-96 02:30:50 +comm.c.info
2632 1711 34.9% 22-Aug-96 01:01:22 +Debug
1387 738 46.7% 31-Aug-96 02:30:50 +Debug.info
1051 437 58.4% 28-Apr-93 18:27:18 +Edit-col.ad
8832 2779 68.5% 28-Apr-93 18:27:18 +Editres.ad
5034 2290 54.5% 30-Aug-96 23:46:50 +editres.c
481 268 44.2% 31-Aug-96 02:30:50 +editres.c.info
17744 6794 61.7% 18-Apr-94 00:38:52 +editres.man
23536 6104 74.0% 28-Aug-96 21:02:30 +editres.patch
54465 14273 73.7% 30-Aug-96 23:06:40 +EditresCom.c
481 273 43.2% 31-Aug-96 02:30:48 +EditresCom.c.info
10435 3553 65.9% 18-Apr-94 00:38:54 +editresP.h
481 223 53.6% 31-Aug-96 02:30:50 +editresP.h.info
1398 705 49.5% 31-Aug-96 02:30:50 +Find.info
13667 3972 70.9% 22-Aug-96 02:18:18 +geometry.c
481 269 44.0% 31-Aug-96 02:30:48 +geometry.c.info
784 388 50.5% 30-Aug-96 23:47:02 +Glue.c
481 266 44.6% 31-Aug-96 02:30:50 +Glue.c.info
26793 6656 75.1% 22-Aug-96 02:15:34 +handler.c
481 266 44.6% 31-Aug-96 02:30:50 +handler.c.info
26602 6591 75.2% 18-Apr-94 00:38:56 +handler.c.orig
482 278 42.3% 17-Jul-91 03:07:04 +Imakefile
375 214 42.9% 30-Aug-96 23:38:46 +Library.c
481 266 44.6% 31-Aug-96 02:30:50 +Library.c.info
3378 1524 54.8% 31-Aug-96 02:30:50 +rcsgui.info
450 263 41.5% 05-Jul-90 18:22:40 +README
608 360 40.7% 30-Aug-96 23:08:14 +SCOPTIONS
1674 918 45.1% 31-Aug-96 02:30:50 +SCoptions.info
3988 1914 52.0% 22-Aug-96 02:52:44 +setvalues.c
481 268 44.2% 31-Aug-96 02:30:50 +setvalues.c.info
890 370 58.4% 30-Aug-96 23:49:18 +smakefile
833 193 76.8% 31-Aug-96 02:30:50 +smakefile.info
10426 2066 80.1% 30-Aug-96 23:11:24 +StringConverters.c
481 272 43.4% 31-Aug-96 02:30:48 +StringConverters.c.info
9331 2942 68.4% 22-Aug-96 02:28:58 +svpopup.c
481 272 43.4% 31-Aug-96 02:30:50 +svpopup.c.info
13 13 0.0% 22-Aug-96 01:01:24 +Update
1392 805 42.1% 31-Aug-96 02:30:50 +Update.info
23628 7253 69.3% 22-Aug-96 02:19:58 +utils.c
481 270 43.8% 31-Aug-96 02:30:50 +utils.c.info
31370 7792 75.1% 22-Aug-96 02:09:12 +widgets.c
481 266 44.6% 31-Aug-96 02:30:50 +widgets.c.info
18982 5076 73.2% 22-Aug-96 02:22:50 +wtree.c
481 268 44.2% 31-Aug-96 02:30:50 +wtree.c.info
-------- ------- ----- --------- --------
449067 153251 65.8% 06-Sep-96 00:09:14 59 files